home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Experimental BBS Explossion 3
/
Experimental BBS Explossion III.iso
/
virus
/
dmc_120.zip
/
DAYMAINT.DOC
next >
Wrap
Text File
|
1993-01-31
|
10KB
|
204 lines
╓─────────────────────╖
──────────────╢ DayMaint, C version ╟───────────────────────────────────────
╙─────────────────────╜
Program Name: DMC version 1.20 release (Daymaint, C version),
January 31, 1993
Purpose: A front end for the McAfee SCAN program. To be placed as
an entry in the AUTOEXEC.BAT, will call SCAN with
appropriate parameters *once* per calendar day. It will NOT
execute SCAN if machine has been rebooted the same calendar day
AND found to be virus free. If a virus is found it will
display a warning message, beep repeatedly and halt the
machine.
Author: Bruce W. Neufeld
Compiler: Microsoft Quick C, version 2.0
Copyright: No modifications without written permission of author.
Author retains ownership of this program, documentaion
and associated files. Executable and documentation files
are freely distributable at no cost (ie. freeware).
Individuals and organizations of any type may use and
distribute this program and acompanying files. This program
must be distibuted as a complete package.
Warrantee: None. The author warrants that the files that make the the
DAYMAINT package will take up space on your disk. The author
hereby disclaims all responsibility for the actions of the
programs contained in the DAYMAINT package. Useage of the
said file(s) is entirely at the user's risk.
That being said, the program DAYMAINT.EXE was throughly
tested on a wide variety of computers, and functioned as
advertized, with no ill effects, other than aiding in the
discovery of viruses!
Feedback: Bug reports and comments can be sent to the author at the
following address:
Bruce W. Neufeld
394 Bridge St. East
Belleville, Ontario (Canada)
K8N 1P8
Using the McAfee VALIDATE.COM program (part of the SCAN package), the
following information is returned:
File Name: daymaint.exe
Size: 19,634
Date: 1-31-1993
File Authentication:
Check Method 1 - 92AE
Check Method 2 - 160E
If your copy of DAYMAINT.EXE (version 1.20) does not return these values,
you have a corrupted copy. Do not execute it. Obtain an uncorrupted
original as soon as possible.
1. Introduction
What does DAYMAINT do?
DAYMAINT is a utility program which allows the user to check their system
for viruses on a daily basis. With a minimum of setup required, all IBM
compatible computers can be provided with a reasonable level of protection
against viral intrusion.
Why DAYMAINT?
While there is no perfect protection against viruses, a daily full system
check (all executable files on the system's hard disk are checked), has been
deemed by the author to be a reasonable compromise. A typical environment
where DAYMAINT could be used is in a commercial or government area where users
are not particularly aware of viruses, yet the danger of infection has been
identified. Home use is also plausible, especially where the primary user is
concerned about others bringing in viruses. In practice, the user turns the
machine on, goes for a coffee, and returns to the computer once the full system
SCAN has been completed. If greater protection is needed (or desired), a user
can opt to run a "resident virus interceptor" such as McAfee's VSHIELD or VTAC,
which monitor virus activity in a memory resident mode.
A basic overview
An entry is placed in AUTOEXEC.BAT file to be run at every re-boot,
DAYMAINT.EXE. DAYMAINT in turn, shells to the McAfee SCAN.EXE (tm) program
once per day, assuming the system is rebooted or powered up at some point every
day. A file named DAYMAINT.DEF is created which records the last date and time
of full system SCAN, in order to run the SCAN daily. Several command line
switches are passed to SCAN, including the /M (full memory scan), /REPORT
(write a report of any anomalies), and /CV (check validation codes) parameters.
Please familiarize yourself with the documentation that comes with McAffee's
SCAN product, as this program depends heavily on integration with SCAN. It is
advisable, as a further line of defense, that you ADD VALIDATION CODES to your
files every so often so as to take advantage of the /CV option in SCAN.
2. Setup
The following is a recommended setup for using DAYMAINT.EXE as well as
the McAfee SCAN program:
a. Create a directory C:\SCAN
b. Copy DAYMAINT.EXE and SCAN.EXE (and any other files from the
SCAN package you want to keep on your disk) to the C:\SCAN
directory. SCAN 7.2v76 (April 8, 1991) is the lowest possible
version that will work with this version of DAYMAINT. If you
attempt to use DAYMAINT with any previous versions of SCAN,
an error will occur.
c. Modify your AUTOEXEC.BAT file to include the DAYMAINT program.
There are some important rules on how to do this follow:
i. If your computer has a program in the AUTOEXEC.BAT that
reads a system (ie. battery backed) clock, you MUST place
the entry in the AUTOEXEC.BAT that performs that function
BEFORE you run DAYMAINT. This will normally apply to
8088 and 8086 (XT type) systems. Systems with 286 or higher
processors do not require clock setting programs, as a rule.
ii. Setting system path before executing the timer program (for
XT users) and running DAYMAINT is optional, but the user
must be aware that if the path is not set before a program
is run, the instruction to run the program must include the
full path to the utility. In the case of DAYMAINT, the
AUTOEXEC.BAT must include a CD to the \SCAN directory. The
preferred method in this case is to set the system path at
the beginning of the file to avoid any confusion.
The following is an example AUTOEXEC.BAT which incorporates the
DAYMAINT.EXE program:
@ECHO OFF
PATH C:\;C:\DOS;C:\UTIL;C:\SCAN;C:\DBASE;C:\LOTUS
TIMER /S
CD\SCAN
DAYMAINT
CD/HDM
HDM
d. Daymaint passes the command line to the SCAN program:
/ad /nobreak /chkhi /cv /report report.txt
Previous versions of DayMaint used an internal routine to configure
itself to the hard drive. This method was somewhat unreliable, and
with newer versions of SCAN, the parameter "/ad" (all drives) does
a superior job of finding valid logical drives. Therefore,
DAYMAINT will not accept any command line parameters or switches
and will always default to the built-in command line for SCAN.
e. A file named REPORT.TXT will be created every time Daymaint runs
which will provide a record of any virus found (or of system
integrity).
f. If a virus is discovered by the SCAN program, DAYMAINT will
attempt to find a file called DAYMAINT.MSG, which is a user
created plain ASCII text file informing the user what to do in
case of a viral attack. If this file is not found, a standardized
message will be shown instead. The format of the file DAYMAINT.MSG
is plain ASCII and is a single line of no more than 80 characters.
Any plain ASCII editor, such as QEDIT can be used to create this
file.
3. The use of the McAfee Scan product within DAYMAINT
This program (DAYMAINT.EXE), by itself, is NOT a virus checker, protector or
disinfector! It must be used in conjunction with the program SCAN.EXE, which is
a shareware program by McAfee Associates. As such, users should be aware that:
a. It is each system using SCAN.EXE must have, in some way, have a
legally acquired copy of SCAN.EXE according to the documentation
provided with the McAfee product.
b. It is important to use version 100 or greater of SCAN.EXE, to guard
against the most recent viral strains, as well as to take advantage
of the most recently added features of SCAN (which have been hard
coded into DAYMAINT).
c. As with any program you run on your computer, READ THE
INSTRUCTIONS! There is a wealth of information on how to use all
the programs included with SCAN, as well as information on virus
types, etc.
4. History
version 1.00: April 1991, Original release version
version 1.10: May 1991, Minor bugfix release, documentation updated, several new
driveparms added.
version 1.20: January 1993, modest rewrite, removed internal drive
detection routines, removed command line drive specification
option. Both features negated by intoduction of /ad in
McAfee SCAN.
---==[ end of document ]==---